package com.gzs.learn.payment.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gzs.learn.inf.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 支付配置对象 payment_channel_config
 *
 * @author guanzhisong
 * @date 2021-08-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class PaymentChannelConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 应用APPID */
    @Excel(name = "应用APPID")
    private String appId;

    /** 支付渠道 */
    @Excel(name = "支付渠道")
    private Long channel;

    /** 支付渠道 */
    @Excel(name = "支付类型")
    private String paymentType;

    @Excel(name = "支付子类型")
    private String paymentSubType;

    /** 应用描述 */
    @Excel(name = "应用描述")
    private String appDesc;

    /** 应用加密key */
    @Excel(name = "应用加密key")
    private String appSecret;

    /** 应用加密key */
    @Excel(name = "商户号")
    private String mchId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 公钥私钥对 */
    @Excel(name = "公钥私钥对")
    private String pubPrivKey;

    /** 安全域名 */
    @Excel(name = "安全域名")
    private String secDomain;

    @Excel(name = "创建时间")
    private Date createTime;

    @Excel(name = "更新时间")
    private Date updateTime;
}
